package com.rui.common.vo;

import lombok.Data;
import com.rui.common.pojo.*;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author Administrator
 */
/*前端所需数据：  oid:'',
                        sid:'',
                        logoSrc:'/pic/kfcLogo.png',
                        shopName:'华莱士·全鸡汉堡',
                        orderStat:1,
                        goodTotalPrice,
                        totalPrice:'50',
                        createTime:'2021.8.9',
                        addressMessage:'',
                        goods:'',
                        orderNumber:'',
                        deliveryPrice:''
                        dmId:''
                        */

@Data
public class OrderInfoVO {
    private Integer oid;
    private Integer sid;
    private String logoSrc;
    private String shopName;
    private Integer orderStat;
    private BigDecimal goodTotalPrice;
    private String deliveryPrice;
    private BigDecimal totalPrice;
    private String createTime;
    private List<Good> goods;
    private Address addressMessage;
    private String orderNumber;

    public OrderInfoVO(Integer oid, Integer sid, String logoSrc, String shopName, Integer orderStat, BigDecimal goodTotalPrice, String deliveryPrice, BigDecimal totalPrice, String createTime, List<Good> goods, Address addressMessage, String orderNumber) {
        this.oid = oid;
        this.sid = sid;
        this.logoSrc = logoSrc;
        this.shopName = shopName;
        this.orderStat = orderStat;
        this.goodTotalPrice = goodTotalPrice;
        this.deliveryPrice = deliveryPrice;
        this.totalPrice = totalPrice;
        this.createTime = createTime;
        this.goods = goods;
        this.addressMessage = addressMessage;
        this.orderNumber = orderNumber;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getLogoSrc() {
        return logoSrc;
    }

    public void setLogoSrc(String logoSrc) {
        this.logoSrc = logoSrc;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Integer getOrderStat() {
        return orderStat;
    }

    public void setOrderStat(Integer orderStat) {
        this.orderStat = orderStat;
    }

    public BigDecimal getGoodTotalPrice() {
        return goodTotalPrice;
    }

    public void setGoodTotalPrice(BigDecimal goodTotalPrice) {
        this.goodTotalPrice = goodTotalPrice;
    }

    public String getDeliveryPrice() {
        return deliveryPrice;
    }

    public void setDeliveryPrice(String deliveryPrice) {
        this.deliveryPrice = deliveryPrice;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public List<Good> getGoods() {
        return goods;
    }

    public void setGoods(List<Good> goods) {
        this.goods = goods;
    }

    public Address getAddressMessage() {
        return addressMessage;
    }

    public void setAddressMessage(Address addressMessage) {
        this.addressMessage = addressMessage;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }
}
